package com.wangyi.fightimg.widget;

import android.app.Dialog;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StyleRes;

import com.wangyi.fightimg.R;

/**
 * Created by tiger on 2017/7/31.
 */

public class CustomDialog extends Dialog {
    public CustomDialog(@NonNull Context context) {
        super(context, R.style.progressDialogStyle);
    }

    public void createDialog(int layoutId) {
        setContentView(layoutId);
    }

    public void setCancel(boolean cancelable) {
        setCancelable(cancelable);
    }

}
